package com.guchenbo.springboot.aop;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class BizServiceImpl implements BizService {

    @Transactional
    @LogAspect
    @Override
    public void biz(String msg) {
        System.out.println("biz " + msg);
    }

    @Override
    public void biz2(String msg) {
        System.out.println("biz2 " + msg);
    }
}
